package com.base.vistter.iframe.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class BaseTreeEntity extends BaseEntity {

    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private Integer parentId;

    @TableField
    private String parentPath;

}
